.base-expense-report-detail {
  height: calc(100vh - 80px);
  overflow: auto;
  &.container-hidden {
    overflow: hidden;
  }
  .tabs-info {
    background: white;
    padding: 36px 20px 0 20px;
    margin: -40px -20px 0 -20px;
    position: relative;
  }
  .ant-tabs-card {
    .ant-tabs-nav {
      margin-left: 0;
    }
  }
  .approvals {
    margin: 40px 0 0 25px;
    .ant-timeline-item-content {
      padding-left: 25px;
    }
    .timeline-icon-my {
      color: #fff;
      background: #63b8ee;
      height: 20px;
      line-height: 20px;
      padding: 0 3px;
      border-radius: 10px;
      div {
        transform: scale(0.8);
      }
    }
    .operation-type {
      font-weight: bolder;
      color: #666;
      margin-right: 20px;
    }
    .operation-name {
      word-break: break-all;
      margin-right: 20px;
    }
    .operation-remark {
      word-break: break-all;
    }
  }
  .detail-tabs {
    box-sizing: content-box;
    margin-top: 10px;
    background: #fff;
    border-radius: 2px;
    padding: 20px;
    .ant-tabs {
      overflow: visible;
    }
    .header-title {
      margin-bottom: 12px;
    }
    &.detail-tabs-content {
      padding-top: 15px;
      .tab-container {
        padding-top: 5px;
      }
    }
    .expense-import-area {
      margin-bottom: 20px;
      .ant-btn {
        margin-right: 8px;
      }
    }
    .tab-container {
      overflow-x: hidden;
    }
    .sub-header-title {
      font-size: 16px;
      color: #666;
      height: 54px;
      margin: -20px -20px 20px;
      line-height: 54px;
      padding-left: 20px;
      border-bottom: 1px solid #ececec;
      .edit {
        font-size: 15px;
        margin-left: 15px;
      }
    }
    .expense-percent-area {
      min-height: 60px;
      .expense-percent {
        display: inline-block;
        cursor: pointer;
        canvas {
          cursor: pointer !important;
        }
      }
      .expense-type-pie {
        height: 60px;
        position: relative;
        width: 160px;
        margin-right: 15px;
        &:hover {
          h4 {
            color: #1e78c8;
          }
        }
        h4 {
          line-height: 30px;
          height: 30px;
          margin-bottom: 0;
          text-overflow: ellipsis;
          overflow: hidden;
          white-space: nowrap;
        }
        .pie {
          font-weight: bold;
          width: 60px;
          height: 60px;
        }
        .pie-label {
          height: 60px;
          position: absolute;
          top: 0;
          left: 60px;
          width: 100px;
        }
      }
    }
    .expense-report-travel-subsidy {
      line-height: 30px;
      margin-bottom: 30px;
      border: 1px solid rgba(235, 235, 235, 1);
      padding: 10px 20px;
      border-radius: 10px;
    }
    .expense-table-title {
      b {
        color: #339900;
      }
      i {
        margin-right: 4px;
      }
    }
    .rejected-expense {
      background: #fbf1f6;
      color: #cb5091;
      a {
        color: #cb5091;
      }
    }
    .row-expand-display-none {
      .ant-table-row-expand-icon {
        display: none;
      }
    }
    .expanded-row-list {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .contract-pay-expanded {
      & > div {
        @extend .expanded-row-list;
      }
    }
    .warning-expanded-row {
      color: #2e6cf2;
    }
    .error-expand-row {
      color: #cb5091;
    }
    .audit-application-invoices {
      .error-table-line {
        background: #fdf2f1 !important;
      }
      .warn-table-line {
        background: rgba(254, 249, 237, 1);
      }

      .ant-table {
        overflow: visible;
      }
      .invoice-list-head {
        position: relative;
        height: 32px;
        margin-bottom: 10px;
        .scan-info-icon {
          position: relative;
          color: $default-color;
          top: -16px;
          left: -12px;
          cursor: pointer;
        }

        .button-row {
          > .button {
            margin-right: 16px;
          }
        }
        
      }
      .table-count {
        height: 40px;
        line-height: 40px;
        padding: 0 30px;
        border: 1px solid #eaeaea;
        border-bottom: none;
        b {
          margin: 0 5px;
        }
        b.number {
          color: #50962a;
        }
      }
    }
  }
  .bottom-bar {
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: fixed;
    bottom: 0;
    z-index: 5;
    margin-left: -35px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.067);
    box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.067);
    // padding-left: 20px;
    .back-btn {
      margin-left: 10px;
    }
    .delete-btn {
      color: #fff;
      background-color: #ff4d4f;
      border-color: #ff4d4f;
    }
    &.bottom-bar-approve {
      height: auto;
      line-height: 80px;
    }
  }
  .slide-frame.animated .slide-content.no-footer {
    padding-bottom: 0;
  }

  .direct-attachment {
    .ant-upload-list-item-done {
      float: left;
      width: 32%;
      margin-right: 8px;
    }

    .file-upload {
      .ant-row-flex {
        display: none;
      }
    }
  }

  .batch-apportion {
    .slide-frame.animated .slide-content {
      padding-bottom: 0;
    }
  }

  .audit-concurrent-mark {
    position: absolute;
    top: 35px;
    right: 20px;
    z-index: 3;
    padding: 0 10px;
    height: 32px;
    line-height: 32px;
    color: $badge-error;
    background-color: $highlight-warn;
    i {
      margin-left: 6px;
    }
  }

  @keyframes twink {
    from {
      background-color: $highlight-warn;
    }

    50% {
      background-color: $background-white;
    }

    to {
      background-color: $highlight-warn;
    }
  }

  .twink {
    animation-name: twink;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }
}

.expense-report-checking {
  .ant-modal-body {
    text-align: center;
    .checking-img {
      margin-top: 50px;
      height: 100px;
      width: 100px;
      margin-bottom: 25px;
      -webkit-animation: rotateZ 1s linear infinite;
      -o-animation: rotateZ 1s linear infinite;
      animation: rotateZ 1s linear infinite;
    }
    @keyframes rotateZ {
      100% {
        -webkit-transform: rotateZ(360deg);
        -moz-transform: rotateZ(360deg);
        -ms-transform: rotateZ(360deg);
        -o-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
      }
    }
    .checking-img-content {
      position: absolute;
      width: 40px;
      height: 40px;
      left: 50%;
      top: 104px;
      -webkit-transform: translateX(-50%);
      -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      transform: translateX(-50%);
    }
    .checking-divide {
      height: 1px;
      width: 80%;
      background: #d7dce6;
      margin-left: 10%;
      margin-bottom: 15px;
    }
    .checking-title {
      font-size: 21px;
      color: #505564;
      text-align: center;
      width: 100%;
      height: 40px;
      line-height: 40px;
    }
    .checking-content {
      font-size: 14px;
      color: #1e78c8;
      text-align: center;
      width: 100%;
      height: 30px;
      line-height: 30px;
      margin-bottom: 30px;
    }
  }
}

.loan-list-modal {
  .personal-payment-amount {
    margin-top: 10px;
    color: #fd9630;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    span {
      margin: 0 20px;
    }
  }
  .ant-modal-body {
    height: 450px;
    overflow-y: auto;
  }
  .reimbursement-amount {
    font-size: 14px;
    span {
      margin: 0 20px 0 10px;
    }
  }
  .select-loan-title {
    height: 30px;
    line-height: 30px;
    margin-top: 10px;
  }
  .selectable-row {
    cursor: pointer;
  }
}

.pay-info {
  .header-title {
    margin-bottom: 12px;
  }
  .column-title {
    b {
      color: #339900;
    }
    span {
      padding: 0 5px;
    }
  }
  .link-loan {
    display: block;
    margin-bottom: 5px;
  }
}
.payingControl {
  .select-type {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    margin-bottom: 24px;
  }
}

.audit-application-invoices-tooltip {
  z-index: 99999;
  .ant-tooltip-inner {
    max-width: 416px;
  }
}
.over-quota-modal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  .over-quota-modal-box-tap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    .title-box {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      // border-top: 1px solid #ddd;
      .title {

      }
    }
    .over-quota-table {
      width: 95%;
      .over-quota-table-title {
        display: inline-block;
        span {
          color: rgb(98,157,64)
        }
      }
    }
  }
}
